
#ifndef __RTC_H
#define __RTC_H


#include "gd32f30x.h"
#include <stdbool.h>




typedef union
{
    struct
    {
				uint32_t second;
				uint32_t minute;
				uint32_t hour;
				uint32_t day;
				uint32_t month;
				uint32_t year;
    } Info;
    uint32_t Byte[6];
} RTC_union;


void vrtcConfiguration(void);
void vrtcInit(void);
	
#endif

